module AdminApi
  module Generator
    class ControllerGenerator
      class << slef
        def create _class, &block
          raise "The block is missing" unless block_given?
          generated_class = Class.new AdminApi::ApplicationController
          generated_class.instance_eval(&block)
        end
      end
    end
  end
end
